package com.example.onlinemusic.tools;

import lombok.Data;

@Data
public class ResponseBodyMessage <T> {

    private int status;//状态码

    private String message;//返回的信息[出错的原因?  没错的信息]

    private T data;//返回前端的数据

    public ResponseBodyMessage(int status, String message, T data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }

//    public ResponseBodyMessage() {
//    }
}